package com.xgpro.mapper.message;

import com.xgpro.domain.messagemanage.entity.UserMsg;
import org.apache.ibatis.annotations.Delete;
import tk.mybatis.mapper.common.Mapper;
/**
 * @program: xgpro__dev
 * @description: dao层接口
 * @author: likai
 * @create: 2019-09-17 07:09
 **/

public interface UserMsgMapper extends Mapper<UserMsg> {
    @Delete("<script> " +
            "DELETE FROM t_user_msg WHERE create_time <![CDATA[< ]]> #{format} "+
            "</script>")
    int deleteByTime(String format);
}
